/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: blue;
    color: rgb(161, 6, 6);
}

header {
    display: flex;
    text-align: center;
    align-items: center;
    padding: 20px;
    background-color: rgb(1, 185, 34);
        color: aqua;
    }

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: rgb(204, 218, 8);
}

.hero {
    text-align: center;
    padding: 50px;
    background-color: rgb(54, 47, 47);
    color: white;
}

.cars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.car {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.car:hover {
    transform: scale(1.05);
}

.car img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.car h3 {
    margin: 10px 0;
    color: red;
}

.car p {
    margin: 10px 0;
    color: green;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.buttons button {
    padding: 10px 20px;
    background-color: rgb(192, 13, 13);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buttons button:hover {
    background-color: green;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: rgb(27, 164, 17);
    color: white;
    margin-top: 20px;
}
section{
    background-color: rgb(39, 181, 26);
}
h1{
    text-align: center;
    background-color:  rgb(39, 181, 26);
}
